package br.com.webcopias.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="PARAMETRO")
public class Parameter {

	private Integer id;
	private String smtpServer,volume;

	public Parameter(){}
	
	public Parameter(Integer id, String smtpServer, String volume) {
		super();
		this.id = id;
		this.smtpServer = smtpServer;
		this.volume = volume;
	}
	
	@Id
	@Column(unique=true)
	@GeneratedValue
	public Integer getId() {
		return id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getSmtpServer() {
		return smtpServer;
	}

	public void setSmtpServer(String smtpServer) {
		this.smtpServer = smtpServer;
	}

	public String getVolume() {
		return volume;
	}

	public void setVolume(String volume) {
		this.volume = volume;
	}

}
